<template>
  <div>
    御剑乘风来,除魔天地间! ===={{ pp }}
    <Son :jk="jk" :n="n" :sm="sm" :yy="sm" @chuan="chuan" @gai="gai" @gaijian="gaijian"></Son>
  </div>
</template>
<script>
import Son from './Son.vue'
export default {
  name: '',
  components: {
    Son
  },
  data () {
    return {
      n: '你就是个儿子，拽什么拽',
      pp: '',
      sm: '我被修改啦',
      jk: '我是father'
    }
  },
  created () {
  },
  computed: {
  },
  methods: {
    chuan (ff) {
      this.pp = ff
      console.log(this.pp);
    },
    gai (value) {
      console.log(value);
      this.n = value
    },
    gaijian (item) {
      this.jk = item
    }
  }
}
</script>
<style lang='less'  scoped>
</style>
